Unable to pass strings in dbgetquery in r. it says invalid identifier

How to Fix the Invalid Identifier Error in R's dbGetQuery Function